﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PSI.Services {
    public static class IPService {
        /// <summary>
        /// 当前用户的IP
        /// </summary>
        /// <returns></returns>
        public static string GetUserIP() {
            return HttpContext.Current.Request.UserHostAddress;
        }
    }
}